<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<progress id="one" min="1" max="100" value="1"></progress>
<script>
    const pro = document.getElementById("one")
    const timer = setInterval(()=>{
        if(pro.value < 100){
            pro.value++
        }else {
            alert("进度条到底了")
            clearInterval(timer)
        }
    },100)
</script>




<p>meter 标签 定义范围内的度量，使用场景，密码的强弱提示</p>
<meter value="50" min="1" max="100" low="30" high="50" optimum="100"></meter>





</body>
</html>